﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace homework3
{
    internal class Program
    {
        static void Main(string[] args)
        {
            ClockEvent clockEvent = new ClockEvent();
            EventHandler eventHandler = new EventHandler();
            eventHandler.Subscribe(clockEvent);
            clockEvent.startTick();
            clockEvent.setAlarm("23:53:00");
            Console.ReadKey();
            clockEvent.stop();
            Console.ReadKey();
        }
    }
}
